/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "库存调拨",TableName = "transferorder")]
    public partial class transferorder:BaseEntity
    {
        /// <summary>
       ///调拨单号
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="调拨单号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string TransferOrderNo { get; set; }

       /// <summary>
       ///制单人
       /// </summary>
       [Display(Name ="制单人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Creator { get; set; }

       /// <summary>
       ///制单部门
       /// </summary>
       [Display(Name ="制单部门")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Department { get; set; }

       /// <summary>
       ///制单时间
       /// </summary>
       [Display(Name ="制单时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime CreateTime { get; set; }

       /// <summary>
       ///调拨类型
       /// </summary>
       [Display(Name ="调拨类型")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TransferType { get; set; }

       /// <summary>
       ///调拨申请日期
       /// </summary>
       [Display(Name ="调拨申请日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public DateTime ApplyDate { get; set; }

       /// <summary>
       ///调出仓库
       /// </summary>
       [Display(Name ="调出仓库")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public long OutWarehouseId { get; set; }

       /// <summary>
       ///调入仓库
       /// </summary>
       [Display(Name ="调入仓库")]
       [Column(TypeName="bigint")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public long InWarehouseId { get; set; }

       /// <summary>
       ///经办人
       /// </summary>
       [Display(Name ="经办人")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string Handler { get; set; }

       /// <summary>
       ///调拨备注
       /// </summary>
       [Display(Name ="调拨备注")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string Remark { get; set; }

       /// <summary>
       ///调拨单状态
       /// </summary>
       [Display(Name ="调拨单状态")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string OrderStatus { get; set; }

       /// <summary>
       ///出库状态
       /// </summary>
       [Display(Name ="出库状态")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string OutStatus { get; set; }

       /// <summary>
       ///入库状态
       /// </summary>
       [Display(Name ="入库状态")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string InStatus { get; set; }

       /// <summary>
       ///出库进度
       /// </summary>
       [Display(Name ="出库进度")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       [Editable(true)]
       public string OutProgress { get; set; }

       /// <summary>
       ///入库进度
       /// </summary>
       [Display(Name ="入库进度")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       [Editable(true)]
       public string InProgress { get; set; }

       
    }
}